#ifndef __JPEGCOMPRESS_H_
#define __JPEGCOMPRESS_H_

//extern "C"
//{

int CompressImageToJpeg(unsigned char *framebuffer, int width,int height,int format, 
						unsigned char *buffer, int framesize, int quality);

//}
#endif
